package tgc.edu.tms.repository;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import tgc.edu.tms.custom.CommonRepository;
import tgc.edu.tms.entity.CourseCategory;
@Repository
public interface CourseCategoryRepository extends CommonRepository<CourseCategory, Integer> {

	/*@Query(value="SELECT * FROM course_category where type=?1 or type=?2 ",nativeQuery=true)
	List<CourseCategory> findtypeortype(String string, String string2);*/
	List<CourseCategory> findByTypeOrType(String string, String string2);
	
}
